package com.zjitc.model;

import sun.management.counter.perf.PerfInstrumentation;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/20 16:16
 * @description:
 */
public class Country {
    private String Code;
    private String Name;
    private String Region;
    private Double SurfaceArea;
    private Integer IndepYear;
    private Integer Population;
    private Double LifeExpectancy;
    private Double GNP;
    private String HeadOfState ;
    private Integer Capital;
    private String Code2;

  public Country() {
  }

  public Country(String code, String name, String region, Double surfaceArea,
      Integer indepYear, Integer population, Double lifeExpectancy, Double GNP,
      String headOfState, Integer capital, String code2) {
    Code = code;
    Name = name;
    Region = region;
    SurfaceArea = surfaceArea;
    IndepYear = indepYear;
    Population = population;
    LifeExpectancy = lifeExpectancy;
    this.GNP = GNP;
    HeadOfState = headOfState;
    Capital = capital;
    Code2 = code2;
  }

  public String getCode() {
    return Code;
  }

  public void setCode(String code) {
    Code = code;
  }

  public String getName() {
    return Name;
  }

  public void setName(String name) {
    Name = name;
  }

  public String getRegion() {
    return Region;
  }

  public void setRegion(String region) {
    Region = region;
  }

  public Double getSurfaceArea() {
    return SurfaceArea;
  }

  public void setSurfaceArea(Double surfaceArea) {
    SurfaceArea = surfaceArea;
  }

  public Integer getIndepYear() {
    return IndepYear;
  }

  public void setIndepYear(Integer indepYear) {
    IndepYear = indepYear;
  }

  public Integer getPopulation() {
    return Population;
  }

  public void setPopulation(Integer population) {
    Population = population;
  }

  public Double getLifeExpectancy() {
    return LifeExpectancy;
  }

  public void setLifeExpectancy(Double lifeExpectancy) {
    LifeExpectancy = lifeExpectancy;
  }

  public Double getGNP() {
    return GNP;
  }

  public void setGNP(Double GNP) {
    this.GNP = GNP;
  }

  public String getHeadOfState() {
    return HeadOfState;
  }

  public void setHeadOfState(String headOfState) {
    HeadOfState = headOfState;
  }

  public Integer getCapital() {
    return Capital;
  }

  public void setCapital(Integer capital) {
    Capital = capital;
  }

  public String getCode2() {
    return Code2;
  }

  public void setCode2(String code2) {
    Code2 = code2;
  }

  @Override
  public String toString() {
    return "Country{" +
        "Code='" + Code + '\'' +
        ", Name='" + Name + '\'' +
        ", Region='" + Region + '\'' +
        ", SurfaceArea=" + SurfaceArea +
        ", IndepYear=" + IndepYear +
        ", Population=" + Population +
        ", LifeExpectancy=" + LifeExpectancy +
        ", GNP=" + GNP +
        ", HeadOfState='" + HeadOfState + '\'' +
        ", Capital=" + Capital +
        ", Code2='" + Code2 + '\'' +
        '}';
  }
}
